package cn.well.cloud.base.wechat.model;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 
 * Created by wison on 2019年8月14日.
 *
 */
@Component
@ConfigurationProperties(prefix = "mini")
public class MiniInfo {
    public static final Logger logger = LoggerFactory.getLogger(MiniInfo.class);
    //小程序
    public static String APPID;
    public static String SECRET;    


    public static String JSCODE2SESSIONURL = "https://api.weixin.qq.com/sns/jscode2session?appid={}&secret={}&js_code={}&grant_type=authorization_code";
   
   

    public String getAPPID() {
        return APPID;
    }



    public void setAPPID(String aPPID) {
        APPID = aPPID;
    }



    public String getSECRET() {
        return SECRET;
    }



    public void setSECRET(String sECRET) {
        SECRET = sECRET;
    }



    public String getJSCODE2SESSIONURL() {
        return JSCODE2SESSIONURL;
    }



    public void setJSCODE2SESSIONURL(String jSCODE2SESSIONURL) {
        JSCODE2SESSIONURL = jSCODE2SESSIONURL;
    }

}
